const runtime.arenaBaseOffset
24 uses
runtime (current package)
malloc.go#L310: arenaBaseOffset = 0xffff800000000000*goarch.IsAmd64 + 0x0a00000000000000*goos.IsAix
malloc.go#L312: arenaBaseOffsetUintptr = uintptr(arenaBaseOffset)
mheap.go#L602: return arenaIdx((p - arenaBaseOffset) / heapArenaBytes)
mheap.go#L608: return uintptr(i)*heapArenaBytes + arenaBaseOffset
mpagealloc.go#L107: return chunkIdx((p - arenaBaseOffset) / pallocChunkBytes)
mpagealloc.go#L112: return uintptr(ci)*pallocChunkBytes + arenaBaseOffset
mpagealloc.go#L144: return int((addr.a - arenaBaseOffset) >> levelShift[level])
mpagealloc.go#L150: return offAddr{(uintptr(idx) << levelShift[level]) + arenaBaseOffset}
mpagealloc.go#L167: lo = int((base - arenaBaseOffset) >> levelShift[level])
mpagealloc.go#L168: hi = int(((limit-1)-arenaBaseOffset)>>levelShift[level]) + 1
mranges.go#L35: if (base-arenaBaseOffset >= base) != (limit-arenaBaseOffset >= limit) {
mranges.go#L112: minOffAddr = offAddr{arenaBaseOffset}
mranges.go#L117: maxOffAddr = offAddr{(((1 << heapAddrBits) - 1) + arenaBaseOffset) & uintptrMask}
mranges.go#L148: return (l1.a - arenaBaseOffset) < (l2.a - arenaBaseOffset)
mranges.go#L154: return (l1.a - arenaBaseOffset) <= (l2.a - arenaBaseOffset)
mranges.go#L185: if b.a.CompareAndSwap(old, int64(minOffAddr.addr()-arenaBaseOffset)) {
mranges.go#L194: new := int64(addr - arenaBaseOffset)
mranges.go#L211: b.a.CompareAndSwap(-int64(markedAddr-arenaBaseOffset), int64(newAddr-arenaBaseOffset))
mranges.go#L217: b.a.Store(-int64(addr - arenaBaseOffset))
mranges.go#L229: return uintptr(v) + arenaBaseOffset, wasMarked
|
The pages are generated with Golds v0.6.7. (GOOS=linux GOARCH=amd64)
Golds is a Go 101 project developed by Tapir Liu.
PR and bug reports are welcome and can be submitted to the issue list.
Please follow @Go100and1 (reachable from the left QR code) to get the latest news of Golds. |